package com.example.shop_car_2208.net

/**
 * 常量值 ---- 存放所有网址
 *
 */
class Const {
    companion object{
        const val BASE_URL = "http://10.161.9.80:7012"
        const val LOGIN_URL = "/user/loginjson"
        const val SP_TOKEN = "token"
        const val REGISTER_URL = "/user/register"
        const val BANNER_URL = "/banner/json"
        const val CATE_URL = "/goods/category"//商品分类
        const val GOOD_URL = "/goods/info"//购物车
        const val DETAIL_URL = "/goods/detail"//详情
        const val ADDCAR_URL ="/goods/addCar"//添加购物车
        const val SELECT_URL = "/goods/selectCar"//查询购物车
        const val DELETECAR_URL="/goods/deleteCar"//删除购物车
        const val UPDATEICON_URL = "/user/updateIcon"//换头像
        const val COMMENT_URL_ONE = "/comment/getCommentByVideoId?videoId=103"//一级评论
        const val GETCHILDCOMMENT_URL = "/comment/getChildCommentByVideoId?currentPage=1&pageSize=10&videoId=103"//二级评论
        const val COMMENT_URL = "/comment/comment"//发表评论
    }
}